export interface CreateTableRequestData {
  checiId?: number
  startPlace: string
  endPlace: string
  boardingTime: string
  dropOffTime: string
  price?: number
}

export interface TableRequestData {
  /** 当前页码 */
  currentPage: number
  /** 查询条数 */
  size: number
  /** 查询参数：起点*/
  startPlace?: string
  /** 查询参数：终点 */
  endPlace?: string
}

export interface TableData {
  checiId: number //车次编号
  vehicleId: string //车牌号
  type: string //车型
  boardingTime: string //上车时间
  dropOffTime: string //下车时间
  seats: number //剩余座位数
  price: number //票价
}

export type TableResponseData = ApiResponseData<{
  list: TableData[]
  total: number
}>
